[INFO] cloning repository https://github.com/pajh/tron
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pajh/tron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajh%2Ftron", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajh%2Ftron'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 881e0d67f74904a539d04da6841d05824e8da7f5
[INFO] checking pajh/tron against try#fceb2de603f0807f9049222f3f612ed51ed8f9dc for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajh%2Ftron" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pajh/tron
[INFO] finished tweaking git repo https://github.com/pajh/tron
[INFO] tweaked toml for git repo https://github.com/pajh/tron written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pajh/tron on toolchain fceb2de603f0807f9049222f3f612ed51ed8f9dc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pajh/tron already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `codingame` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0
[INFO] running `Command { std: "docker" "start" "f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0" "/opt/rustwide/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0" "/opt/rustwide/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `codingame` (manifest) generated 1 warning
[INFO] [stderr]     Checking rand_core v0.2.0
[INFO] [stderr]     Checking libc v0.2.40
[INFO] [stderr]     Checking rand v0.5.0
[INFO] [stderr]     Checking codingame v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]  --> src/support.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::Cell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/support.rs:156:63
[INFO] [stdout]     |
[INFO] [stdout] 156 |     file.write_all(data.as_bytes()).expect("Unable to write");;
[INFO] [stdout]     |                                                               ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/aiminmax.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aiminmax::MinMaxAI`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use aiminmax::MinMaxAI;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/ailong.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/aimonte.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `support::PlayerData`
[INFO] [stdout]  --> src/simgame.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use support::PlayerData;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/simgame.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/aiflood.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/ai.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/floodfill.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aiminmax::scan_move`
[INFO] [stdout]   --> src/neural.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use aiminmax::scan_move;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aiminmax::score_for_player`
[INFO] [stdout]   --> src/neural.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use aiminmax::score_for_player;//(scores, player)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/neural.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/simgame.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |     playai: [Option<&'a mut AI>;4],
[INFO] [stdout]   |                             ^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     playai: [Option<&'a mut dyn AI>;4],
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ai.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl AI {
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl dyn AI {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl AI for /* Type */ {
[INFO] [stdout]    |         ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/aiminmax.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ailong.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/aimonte.rs:473:9
[INFO] [stdout]     |
[INFO] [stdout] 473 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 473 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/aiflood.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/aiflood.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 avail_moves.score[i] = AI::score_for_player(l_score, 0) as i16;
[INFO] [stdout]    |                                        ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 avail_moves.score[i] = <dyn AI>::score_for_player(l_score, 0) as i16;
[INFO] [stdout]    |                                        ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/neural.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 258 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]  --> src/support.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::Cell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/support.rs:156:63
[INFO] [stdout]     |
[INFO] [stdout] 156 |     file.write_all(data.as_bytes()).expect("Unable to write");;
[INFO] [stdout]     |                                                               ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/aiminmax.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aiminmax::MinMaxAI`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use aiminmax::MinMaxAI;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/ailong.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/aimonte.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `support::PlayerData`
[INFO] [stdout]  --> src/simgame.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use support::PlayerData;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/simgame.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/aiflood.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/ai.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/floodfill.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aiminmax::scan_move`
[INFO] [stdout]   --> src/neural.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use aiminmax::scan_move;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aiminmax::score_for_player`
[INFO] [stdout]   --> src/neural.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use aiminmax::score_for_player;//(scores, player)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/neural.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `turn` is assigned to, but never used
[INFO] [stdout]   --> src/simgame.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut turn = 0;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_turn` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `turn` is never read
[INFO] [stdout]   --> src/simgame.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             turn+=1;
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/simgame.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |     playai: [Option<&'a mut AI>;4],
[INFO] [stdout]   |                             ^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     playai: [Option<&'a mut dyn AI>;4],
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/aiflood.rs:30:47
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn next_move(&mut self, p_pos: &[PPos; 4],start:Instant) -> Move {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/floodfill.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 let (v,p) = self.get((x,y));
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ai.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl AI {
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl dyn AI {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl AI for /* Type */ {
[INFO] [stdout]    |         ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/neural.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let mut avail_moves = AvailMoves::calc_board(&self.board, self.pdata.me().pos);
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/neural.rs:257:48
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn next_move(&mut self, p_pos: &[PPos; 4], start_time:Instant) -> Move {
[INFO] [stdout]     |                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `this_move` is assigned to, but never used
[INFO] [stdout]    --> src/neural.rs:306:25
[INFO] [stdout]     |
[INFO] [stdout] 306 |                     let mut this_move = avail_moves.moves[best_option].get_point();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_this_move` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `this_move` is never read
[INFO] [stdout]    --> src/neural.rs:312:21
[INFO] [stdout]     |
[INFO] [stdout] 312 |                     this_move = avail_moves.moves[second_option].get_point();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let len = file.read_line(&mut line);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/aiminmax.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `empty_tree`
[INFO] [stdout]    --> src/main.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let empty_tree = MoveTree::new();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let mut ai3 = LongAI::new();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut improves = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let mut ai_to_dump:Option<usize> = None;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ai3`
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let mut ai3 = LongAI::new();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ai3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ailong.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ai_to_dump`
[INFO] [stdout]    --> src/main.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let mut ai_to_dump:Option<usize> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_to_dump`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `me`
[INFO] [stdout]    --> src/main.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let me = parse_input!(inputs[1], usize); // your player number (0 to 3).
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_me`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_def` is never used
[INFO] [stdout]   --> src/main.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const c_def:&str = "\x1b[m";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_red` is never used
[INFO] [stdout]   --> src/main.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const c_red:&str = "\x1b[31m";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_grn` is never used
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const c_grn:&str = "\x1b[32m";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `board_load` is never used
[INFO] [stdout]   --> src/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn board_load(b: &mut Board, pdata: &mut PlayerData) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `time_floodfill` is never used
[INFO] [stdout]   --> src/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn time_floodfill() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_nn` is never used
[INFO] [stdout]    --> src/main.rs:219:4
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn test_nn() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cpy` and `to_string` are never used
[INFO] [stdout]    --> src/board.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Board {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout]  16 |
[INFO] [stdout]  17 |     pub fn cpy(&self) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn to_string(&self, pmap: [usize; 4]) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `print`, `is_empty`, `calc_board_tree_dead`, `tree_check`, `contains`, and `getxy` are never used
[INFO] [stdout]    --> src/board.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl AvailMoves {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn is_empty(b: &Board, tree: &MoveTree, node: usize, p: PPos, pdata: &PlayerData) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub fn calc_board_tree_dead(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn tree_check(self, tree: &MoveTree, node: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     pub fn contains(&self, m: &Move) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn getxy(&self, index: usize) -> PPos {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pos`, `prev`, and `play` are never read
[INFO] [stdout]    --> src/board.rs:297:5
[INFO] [stdout]     |
[INFO] [stdout] 296 | struct MoveTreeData {
[INFO] [stdout]     |        ------------ fields in this struct
[INFO] [stdout] 297 |     pos: PPos,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 298 |     prev: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 299 |     play: u8,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get`, `to_str`, `add`, `is_point_in`, and `is_point_in_notdead` are never used
[INFO] [stdout]    --> src/board.rs:314:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | impl MoveTree {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 314 |     pub fn get(&self, node: usize) -> (PPos, u8, usize) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn to_str(&self, node: usize) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |     pub fn add(&mut self, point: PPos, parent: usize, player: u8) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn is_point_in(&self, node: usize, point: PPos) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn is_point_in_notdead(&self, node: usize, point: PPos, pdata: &PlayerData) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZEROSCORE` is never used
[INFO] [stdout]  --> src/support.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const ZEROSCORE: PScore = [0; MAXPLAYERS];
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/support.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Fill {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new()->Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fill2` is never constructed
[INFO] [stdout]   --> src/support.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Fill2 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/support.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Fill2 {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 36 |     pub fn new()->Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/support.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Move {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `iter_live`, `next_live_player`, `live_count`, and `is_dead` are never used
[INFO] [stdout]    --> src/support.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl PlayerData {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn iter_live(&self) -> ::std::iter::Filter<::std::slice::Iter<Player>, fn(&&Player) -> bool> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn next_live_player(&self, player: usize) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn live_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn is_dead(&self, pno: usize) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_str_to_file` is never used
[INFO] [stdout]    --> src/support.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn append_str_to_file(filename: &str, data:&str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_DEPTH` is never used
[INFO] [stdout]   --> src/aiminmax.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const MAX_DEPTH: usize = 10;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinMaxAI` is never constructed
[INFO] [stdout]   --> src/aiminmax.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MinMaxAI {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `dump_move` are never used
[INFO] [stdout]   --> src/aiminmax.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl MinMaxAI {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn dump_move(&self, moves: &AvailMoves) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scan_move` is never used
[INFO] [stdout]    --> src/aiminmax.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub fn scan_move(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `score_for_player` is never used
[INFO] [stdout]    --> src/aiminmax.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub fn score_for_player(scores: PScore, player: usize) -> i16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanity_check_move` is never used
[INFO] [stdout]    --> src/aiminmax.rs:237:4
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn sanity_check_move(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print_players` and `get_board` are never used
[INFO] [stdout]    --> src/aimonte.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl MonteNode {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn print_players(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn get_board(&self, pp: PP) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOVES` is never used
[INFO] [stdout]    --> src/aimonte.rs:391:7
[INFO] [stdout]     |
[INFO] [stdout] 391 | const MOVES: [u8; 4] = [MSK_N, MSK_S, MSK_W, MSK_E];
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_turn` is never used
[INFO] [stdout]    --> src/aimonte.rs:441:8
[INFO] [stdout]     |
[INFO] [stdout] 441 | pub fn print_turn(pdata: &PlayerData, b: &Board) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `replay` is never used
[INFO] [stdout]   --> src/simgame.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> Game<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn replay(&mut self, random_player:usize)->([usize;4],usize) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_turn` is never used
[INFO] [stdout]    --> src/simgame.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn print_turn(pos:[PPos;4], b: &Board) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `blank_tree` and `to_string` are never used
[INFO] [stdout]   --> src/floodfill.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FloodBoard {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn blank_tree(mut self, tree: &MoveTree, node: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn to_string(&self, perspect: u8) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SCORE_NORMAL` is never used
[INFO] [stdout]   --> src/neural.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const SCORE_NORMAL: f32 = 500.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INPUT_SIZE` is never used
[INFO] [stdout]   --> src/neural.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const INPUT_SIZE: usize = 600;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_board` is never used
[INFO] [stdout]   --> src/neural.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn encode_board(board: &FloodBoard, player: usize) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]   --> src/neural.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn sigmoid(y: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loadvec_from_str` is never used
[INFO] [stdout]    --> src/neural.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn loadvec_from_str<T: std::str::FromStr>(v: &mut Vec<T>, data: &str, delimiter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_data` is never used
[INFO] [stdout]    --> src/neural.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn process_data(nn: NeuralNet) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tree` is never read
[INFO] [stdout]    --> src/neural.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub struct NeuralAI {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 224 |     tree: MoveTree, // Only used for evaluating random positions
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dump_moves` is never used
[INFO] [stdout]    --> src/neural.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl NeuralAI {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 251 |     pub fn dump_moves(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_def` should have an upper case name
[INFO] [stdout]   --> src/main.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const c_def:&str = "\x1b[m";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `C_DEF`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_red` should have an upper case name
[INFO] [stdout]   --> src/main.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const c_red:&str = "\x1b[31m";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `C_RED`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_grn` should have an upper case name
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const c_grn:&str = "\x1b[32m";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `C_GRN`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/board.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn iter(&self) -> std::slice::Iter<Move> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn iter(&self) -> std::slice::Iter<'_, Move> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/support.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn iter_live(&self) -> ::std::iter::Filter<::std::slice::Iter<Player>, fn(&&Player) -> bool> {
[INFO] [stdout]     |                      ^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn iter_live(&self) -> ::std::iter::Filter<::std::slice::Iter<'_, Player>, fn(&&Player) -> bool> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/aimonte.rs:473:9
[INFO] [stdout]     |
[INFO] [stdout] 473 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 473 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/aiminmax.rs:247:32
[INFO] [stdout]     |
[INFO] [stdout] 247 |         panic!("Width exceeded {}");
[INFO] [stdout]     |                                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 247 |         panic!("Width exceeded {}", ...);
[INFO] [stdout]     |                                   +++++
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 247 |         panic!("{}", "Width exceeded {}");
[INFO] [stdout]     |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/aiflood.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]    |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/aiflood.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 avail_moves.score[i] = AI::score_for_player(l_score, 0) as i16;
[INFO] [stdout]    |                                        ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 avail_moves.score[i] = <dyn AI>::score_for_player(l_score, 0) as i16;
[INFO] [stdout]    |                                        ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/neural.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |         AI::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 258 |         <dyn AI>::handle_others(&mut self.pdata, p_pos, self.pmap, &mut self.board);
[INFO] [stdout]     |         ++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `turn` is assigned to, but never used
[INFO] [stdout]   --> src/simgame.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut turn = 0;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_turn` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `turn` is never read
[INFO] [stdout]   --> src/simgame.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             turn+=1;
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/aiflood.rs:30:47
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn next_move(&mut self, p_pos: &[PPos; 4],start:Instant) -> Move {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/floodfill.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 let (v,p) = self.get((x,y));
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/neural.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let mut avail_moves = AvailMoves::calc_board(&self.board, self.pdata.me().pos);
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/neural.rs:257:48
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn next_move(&mut self, p_pos: &[PPos; 4], start_time:Instant) -> Move {
[INFO] [stdout]     |                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `this_move` is assigned to, but never used
[INFO] [stdout]    --> src/neural.rs:306:25
[INFO] [stdout]     |
[INFO] [stdout] 306 |                     let mut this_move = avail_moves.moves[best_option].get_point();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_this_move` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `this_move` is never read
[INFO] [stdout]    --> src/neural.rs:312:21
[INFO] [stdout]     |
[INFO] [stdout] 312 |                     this_move = avail_moves.moves[second_option].get_point();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let len = file.read_line(&mut line);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `empty_tree`
[INFO] [stdout]    --> src/main.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let empty_tree = MoveTree::new();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let mut ai3 = LongAI::new();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut improves = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let mut ai_to_dump:Option<usize> = None;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ai3`
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let mut ai3 = LongAI::new();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ai3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ai_to_dump`
[INFO] [stdout]    --> src/main.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let mut ai_to_dump:Option<usize> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ai_to_dump`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `me`
[INFO] [stdout]    --> src/main.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let me = parse_input!(inputs[1], usize); // your player number (0 to 3).
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_me`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_def` is never used
[INFO] [stdout]   --> src/main.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const c_def:&str = "\x1b[m";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_red` is never used
[INFO] [stdout]   --> src/main.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const c_red:&str = "\x1b[31m";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_grn` is never used
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const c_grn:&str = "\x1b[32m";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `board_load` is never used
[INFO] [stdout]   --> src/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn board_load(b: &mut Board, pdata: &mut PlayerData) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `time_floodfill` is never used
[INFO] [stdout]   --> src/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn time_floodfill() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_nn` is never used
[INFO] [stdout]    --> src/main.rs:219:4
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn test_nn() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cpy` and `to_string` are never used
[INFO] [stdout]    --> src/board.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Board {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout]  16 |
[INFO] [stdout]  17 |     pub fn cpy(&self) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn to_string(&self, pmap: [usize; 4]) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `print`, `is_empty`, `calc_board_tree_dead`, `tree_check`, `contains`, and `getxy` are never used
[INFO] [stdout]    --> src/board.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl AvailMoves {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn is_empty(b: &Board, tree: &MoveTree, node: usize, p: PPos, pdata: &PlayerData) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub fn calc_board_tree_dead(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn tree_check(self, tree: &MoveTree, node: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     pub fn contains(&self, m: &Move) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn getxy(&self, index: usize) -> PPos {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pos`, `prev`, and `play` are never read
[INFO] [stdout]    --> src/board.rs:297:5
[INFO] [stdout]     |
[INFO] [stdout] 296 | struct MoveTreeData {
[INFO] [stdout]     |        ------------ fields in this struct
[INFO] [stdout] 297 |     pos: PPos,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 298 |     prev: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 299 |     play: u8,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get`, `to_str`, `add`, `is_point_in`, and `is_point_in_notdead` are never used
[INFO] [stdout]    --> src/board.rs:314:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | impl MoveTree {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 314 |     pub fn get(&self, node: usize) -> (PPos, u8, usize) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn to_str(&self, node: usize) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |     pub fn add(&mut self, point: PPos, parent: usize, player: u8) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn is_point_in(&self, node: usize, point: PPos) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn is_point_in_notdead(&self, node: usize, point: PPos, pdata: &PlayerData) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZEROSCORE` is never used
[INFO] [stdout]  --> src/support.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const ZEROSCORE: PScore = [0; MAXPLAYERS];
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/support.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Fill {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new()->Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fill2` is never constructed
[INFO] [stdout]   --> src/support.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Fill2 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/support.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Fill2 {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 36 |     pub fn new()->Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/support.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Move {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `iter_live`, `next_live_player`, `live_count`, and `is_dead` are never used
[INFO] [stdout]    --> src/support.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl PlayerData {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn iter_live(&self) -> ::std::iter::Filter<::std::slice::Iter<Player>, fn(&&Player) -> bool> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn next_live_player(&self, player: usize) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn live_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn is_dead(&self, pno: usize) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_str_to_file` is never used
[INFO] [stdout]    --> src/support.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn append_str_to_file(filename: &str, data:&str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_DEPTH` is never used
[INFO] [stdout]   --> src/aiminmax.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const MAX_DEPTH: usize = 10;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinMaxAI` is never constructed
[INFO] [stdout]   --> src/aiminmax.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MinMaxAI {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `dump_move` are never used
[INFO] [stdout]   --> src/aiminmax.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl MinMaxAI {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn dump_move(&self, moves: &AvailMoves) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scan_move` is never used
[INFO] [stdout]    --> src/aiminmax.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub fn scan_move(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `score_for_player` is never used
[INFO] [stdout]    --> src/aiminmax.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub fn score_for_player(scores: PScore, player: usize) -> i16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanity_check_move` is never used
[INFO] [stdout]    --> src/aiminmax.rs:237:4
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn sanity_check_move(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print_players` and `get_board` are never used
[INFO] [stdout]    --> src/aimonte.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl MonteNode {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn print_players(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn get_board(&self, pp: PP) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOVES` is never used
[INFO] [stdout]    --> src/aimonte.rs:391:7
[INFO] [stdout]     |
[INFO] [stdout] 391 | const MOVES: [u8; 4] = [MSK_N, MSK_S, MSK_W, MSK_E];
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_turn` is never used
[INFO] [stdout]    --> src/aimonte.rs:441:8
[INFO] [stdout]     |
[INFO] [stdout] 441 | pub fn print_turn(pdata: &PlayerData, b: &Board) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `replay` is never used
[INFO] [stdout]   --> src/simgame.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> Game<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn replay(&mut self, random_player:usize)->([usize;4],usize) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_turn` is never used
[INFO] [stdout]    --> src/simgame.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn print_turn(pos:[PPos;4], b: &Board) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `blank_tree` and `to_string` are never used
[INFO] [stdout]   --> src/floodfill.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FloodBoard {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn blank_tree(mut self, tree: &MoveTree, node: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn to_string(&self, perspect: u8) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SCORE_NORMAL` is never used
[INFO] [stdout]   --> src/neural.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const SCORE_NORMAL: f32 = 500.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INPUT_SIZE` is never used
[INFO] [stdout]   --> src/neural.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const INPUT_SIZE: usize = 600;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_board` is never used
[INFO] [stdout]   --> src/neural.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn encode_board(board: &FloodBoard, player: usize) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]   --> src/neural.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn sigmoid(y: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loadvec_from_str` is never used
[INFO] [stdout]    --> src/neural.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn loadvec_from_str<T: std::str::FromStr>(v: &mut Vec<T>, data: &str, delimiter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_data` is never used
[INFO] [stdout]    --> src/neural.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn process_data(nn: NeuralNet) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tree` is never read
[INFO] [stdout]    --> src/neural.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub struct NeuralAI {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 224 |     tree: MoveTree, // Only used for evaluating random positions
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dump_moves` is never used
[INFO] [stdout]    --> src/neural.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl NeuralAI {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 251 |     pub fn dump_moves(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_def` should have an upper case name
[INFO] [stdout]   --> src/main.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const c_def:&str = "\x1b[m";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `C_DEF`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_red` should have an upper case name
[INFO] [stdout]   --> src/main.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const c_red:&str = "\x1b[31m";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `C_RED`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_grn` should have an upper case name
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const c_grn:&str = "\x1b[32m";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `C_GRN`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/board.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn iter(&self) -> std::slice::Iter<Move> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn iter(&self) -> std::slice::Iter<'_, Move> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/support.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn iter_live(&self) -> ::std::iter::Filter<::std::slice::Iter<Player>, fn(&&Player) -> bool> {
[INFO] [stdout]     |                      ^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn iter_live(&self) -> ::std::iter::Filter<::std::slice::Iter<'_, Player>, fn(&&Player) -> bool> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/aiminmax.rs:247:32
[INFO] [stdout]     |
[INFO] [stdout] 247 |         panic!("Width exceeded {}");
[INFO] [stdout]     |                                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 247 |         panic!("Width exceeded {}", ...);
[INFO] [stdout]     |                                   +++++
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 247 |         panic!("{}", "Width exceeded {}");
[INFO] [stdout]     |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0", kill_on_drop: false }`
[INFO] [stdout] f03877fbc4a3b414ed0fe3f8a1a45e0fc8a870202f63190b4a73ee88bb8df3e0
